import appConfig from '@/config/index'

export const setToken = (token: string) => {
  localStorage.setItem(appConfig.TOKEN_NAME, token)
}

export const getToken = () => {
  return localStorage.getItem(appConfig.TOKEN_NAME)
}

export const removeToken = () => {
  localStorage.removeItem(appConfig.TOKEN_NAME)
}